<?php

	$medico_id = $this->request->data['ListanegraMedicopaciente']['medico_id'];

	echo "<fieldset><legend>$nome_medico :: Lista Negra</legend>";
	echo $this->Form->create('ListanegraMedicopaciente');
	echo $this->Form->input('id');
	echo $this->Form->input('medico_id',array('type' => 'hidden'));
	echo $this->Form->input('paciente_id',array('type' => 'select', 'options' => $pacientes, 'empty' => 'Selecione...', 'class' => 'tamanho50', 'label' => __('Paciente')));
	echo '<div style="clear:both;"></div>';
	echo $this->Form->input('recomendacoes', array('label' => __('Recomendações'), 'type' => 'textarea', 'maxlength' => 500, 'style' => 'height:100px;width:99%'));
	echo '<div class="botoes_form">';
	echo $this->Form->button('Salvar', array('type' => 'submit'));
	echo $this->Form->button('Voltar', array('type'=>'button', 'onClick' => "javascript:location='{$this->request->base}/medicos/alterar/$medico_id'"));
	echo '</div>'; 
	echo $this->Form->end();
	echo '</fieldset>';